using MediatR;
using B.S.Medical.ErrorCode;

namespace B.S.Medical.Api.Write.Application.Command.DoctorSchedule
{
    public class SetDoctorDayScheduleCommand : IRequest<ApiResult<bool>>
    {
        public int DoctorId { get; set; }
        public DateTime Date { get; set; }
        public PeriodScheduleDto AM { get; set; }
        public PeriodScheduleDto PM { get; set; }
    }


    public class PeriodScheduleDto
    {
        public bool IsAvailable { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        public int SlotCount { get; set; }
    }
}